Solr / Sunspot / Rails 3 error: undefined method `closed?' for nil:NilClass?

I figured it out. I'm running this app on a Mac OS Lion 10.7.2. The issue was that the rails app was not indeed connected within the sunspot server.

But the reason isn't because the sunspot server was missing. It was because rails was using IPv4 addresses while sunspot was expecting IPv6 addresses. The first part of the fix was to change the sunspot.

Yml config file so that the hostname is 127.0.0.1 and not 'localhost. ' Then, in /etc/hosts, comment out the following lines: ::1 localhost #fe80::1%lo0 localhost So that 'localhost' only maps to 127.0.0.1 (which is specified elsewhere in /etc/hosts/). That's it!

I figured it out. I'm running this app on a Mac OS Lion 10.7.2. The issue was that the rails app was not indeed connected within the sunspot server.

But the reason isn't because the sunspot server was missing. It was because rails was using IPv4 addresses while sunspot was expecting IPv6 addresses. The first part of the fix was to change the sunspot.

Yml config file so that the hostname is 127.0.0.1 and not 'localhost. ' Then, in /etc/hosts, comment out the following lines: #::1 localhost #fe80::1%lo0 localhost So that 'localhost' only maps to 127.0.0.1 (which is specified elsewhere in /etc/hosts/). That's it!

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions